package com.javachmapi;

public class CouponOrder extends OrderExpand {

    public CouponOrder(Order order) {
        super(order);
    }

    @Override
    public void addOrder() {
        useCoupon();
        super.addOrder();
    }

    private void useCoupon() {
        System.out.println("我使用了一张优惠券");
    }
}
